package net.kucoe.grin.internal.interaction;

/**
 * Callback of interaction execution.
 * 
 * @author Vitaliy Basyuk
 */
public interface InteractionCallback {
    
    /**
     * Continues interaction.
     * 
     * @param request
     */
    void onContinue(ContinueRequest request);
    
    /**
     * Interaction is ready.
     */
    void onComplete();
    
    /**
     * Interaction is failed.
     * 
     * @param error
     */
    void onFail(Throwable error);
    
}
